home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
serien
/
purity
/
nr.37
/
battclock
/
source
/
bclockp.p
< prev
next >
Wrap
Text File
|
1994-09-17
|
933b
|
39 lines
{ simple reading of the battclock. (KP2.12/OS2 or MaxonPASCAL3)
using my UNITS: BattclockPlus (V1.04) and Utility (V0.2)
this is a test for AmigaDOS
© & P by PackMAN, c/o Falk Zühlsdorff,
Lindenberg 66, D-98693 Ilmenau/Thuringia
see © of my UNITS... }
Program TimePlus;
USES BattclockPlus;
BEGIN
IF getbattclock(false)
THEN writeln('english: ',wday,battclockdate,' ',battclocktime);
IF getbattclock(true)
THEN writeln('deutsch: ',wday,battclockdate,' ',battclocktime);
writeln;
writeln('all for itself / alles für sich (VAR: Word):');
writeln;
writeln('year (Jahr): ',year);
writeln('month (Monat): ',month);
writeln('day (Tag): ',mday);
writeln('hour (Stunde): ',hour);
writeln('minute (Minute): ',min);
writeln('Sec. (Sek.): ',sec);
IF UtilityBase<>NIL THEN CloseLibrary(UtilityBase);
End.